package com.catchpig.fund.domain.entity


import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class PageData<T>(
    @SerialName("current_page")
    val currentPage: Int,
    @SerialName("items")
    val items: T,
    @SerialName("size")
    val size: Int,
    @SerialName("total_items")
    val totalItems: Int,
    @SerialName("total_pages")
    val totalPages: Int
)